﻿<%@ Page Title="" Language="C#" MasterPageFile="~/TangoFamilyAndGuide.Master" AutoEventWireup="true" CodeBehind="CastingArtistsOfferConsulta.aspx.cs" Inherits="TangoFamilyAndGuide.Site.CastingArtistsOfferConsulta" Theme="Tango" Culture="en-GB" UICulture="en-GB" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register TagPrefix="uc1" TagName="domicilioConsulta" Src="~/Controles/CastingArtistsOfferConsulta.ascx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <table border="0" cellpadding="0" cellspacing="0" style="padding-left:10px">
        <tr>
            <td align="center" style="padding-top:20px">
                <asp:Label ID="TituloPaginaLabel" runat="server" SkinID="TituloPagina" Text="List of Casting Offers for Artist"></asp:Label>
            </td>
        </tr>
        <tr>
            <td style="padding-top:20px;">
                <asp:Panel ID="Panel1" runat="server" ScrollBars="Auto" BorderStyle="None">
                    <asp:GridView ID="CastingArtistsOffersGridView" runat="server" SkinID="GrillaExploradores" 
                        AutoGenerateColumns="false" onrowcommand="CastingArtistsOffersGridView_RowCommand" 
                        OnRowDataBound="CastingArtistsOffersGridView_RowDataBound" CssClass="grilla">
                        <Columns>
                            <asp:TemplateField HeaderText="" ItemStyle-VerticalAlign="Top">
                                <ItemTemplate>
                                    <asp:Button ID="TargetControlButton" runat="server" style="Display:none" Text="Button" />
                                    <ajaxToolkit:ModalPopupExtender ID="ModalPopupExtender1" PopupControlID="CastingArtistsOfferPanel" TargetControlID="TargetControlButton" BackgroundCssClass="modalBackground" runat="server" />
                                    <asp:LinkButton ID="VerLinkButton" CommandName="Ver" runat="server" Width="80px">Quick View</asp:LinkButton>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="" ItemStyle-VerticalAlign="Top">
                                <ItemTemplate>
                                    <asp:LinkButton ID="VerDetalleLinkButton" CommandName="VerDetalle" runat="server" Width="80px" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>">View Detail</asp:LinkButton>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField DataField="Id" HeaderText="Id" SortExpression="Id">
                                <headerstyle horizontalalign="center" wrap="False" />
                                <itemstyle horizontalalign="left" wrap="False" VerticalAlign="Top" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Nombre" HeaderText="Name" SortExpression="Nombre">
                                <headerstyle horizontalalign="center" wrap="False" />
                                <itemstyle horizontalalign="left" wrap="False" VerticalAlign="Top" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Pais" HeaderText="Country" SortExpression="Pais">
                                <headerstyle horizontalalign="center" wrap="False" />
                                <itemstyle horizontalalign="left" wrap="False" VerticalAlign="Top" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Provincia" HeaderText="State" SortExpression="Provincia">
                                <headerstyle horizontalalign="center" wrap="False" />
                                <itemstyle horizontalalign="left" wrap="False" VerticalAlign="Top" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Localidad" HeaderText="City" SortExpression="Localidad">
                                <headerstyle horizontalalign="center" wrap="False" />
                                <itemstyle horizontalalign="left" wrap="True" VerticalAlign="Top" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Estado" HeaderText="Status" SortExpression="Estado">
                                <headerstyle horizontalalign="center" wrap="False" />
                                <itemstyle horizontalalign="left" wrap="False" VerticalAlign="Top" />
                            </asp:BoundField>
                        </Columns>
                    </asp:GridView>
                </asp:Panel>
            </td>
        </tr>
        <tr>
            <td align="center" style="height: 24px; padding-top:20px">
                <asp:Button ID="SalirButton" runat="server" CausesValidation="false" TabIndex="505" Text="Exit" PostBackUrl="~/Home.aspx" />
            </td>
        </tr>
        <tr>
            <td align="center" style="padding-top:20px">
                <asp:Label ID="MensajeLabel" runat="server" SkinID="MensajePagina" Text=""></asp:Label>
                <asp:ValidationSummary ID="MensajeValidationSummary" runat="server" SkinID="MensajeValidationSummary"></asp:ValidationSummary>
            </td>
        </tr>
    </table>
    <asp:Panel ID="CastingArtistsOfferPanel" runat="server" CssClass="ModalWindow" ScrollBars="Auto">
        <table width="100%">
            <tr>
                <td align="center" colspan="2" style="padding-top:20px">
                    <asp:Label ID="Label1" runat="server" SkinID="TituloPagina" Text="Detail of Casting Offers for Artist"></asp:Label>
                </td>
            </tr>
            <tr>
                <td align="right" style="padding-right:5px; padding-top:5px">
                    <asp:Label ID="Label8" runat="server" Text="Id."></asp:Label>
                </td>
                <td align="left" style="padding-top:5px">
                    <asp:TextBox ID="IdCastingArtistsOfferTextBox" runat="server" MaxLength="50" TabIndex="4" Width="150px"></asp:TextBox>
                </td>        
            </tr>
            <tr>
                <td colspan="2">
                     <hr noshade="noshade" size="1" color="#cccccc" />
                </td>
            </tr>
            <tr>
                <td align="right" style="padding-right:5px; padding-top:2px">
                    <asp:Label ID="Label9" runat="server" Text="Name"></asp:Label>
                </td>
                <td align="left" style="padding-top:2px">
                    <asp:TextBox ID="NombreTextBox" runat="server" MaxLength="50" TabIndex="5" Width="400px"></asp:TextBox>
                </td>        
            </tr>
            <tr>
                <td align="right" style="padding-right:5px; padding-top:2px">
                    <asp:Label ID="Label2" runat="server" Text="Description"></asp:Label>
                </td>
                <td align="left" style="padding-top:2px">
                    <asp:TextBox ID="DescripcionTextBox" runat="server" MaxLength="250" TextMode="MultiLine" Height="40px" TabIndex="5" Width="400px"></asp:TextBox>
                </td>        
            </tr>
            <uc1:domicilioConsulta ID="Domicilio" runat="server"/>
            <tr>
                <td align="right" style="padding-right: 5px; padding-top:5px">
                    <asp:Label ID="Label3" runat="server" Text="Web Site"></asp:Label>
                </td>
                <td align="left" style="padding-top:5px" valign="top">
                    <asp:TextBox ID="WebSiteTextBox" runat="server" MaxLength="60" TabIndex="502"
                        Width="300px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right" style="padding-right: 5px; padding-top:5px">
                    <asp:Label ID="Label12" runat="server" Text="Facebook Address"></asp:Label>
                </td>
                <td align="left" style="padding-top:5px" valign="top">
                    <asp:TextBox ID="FacebookTextBox" runat="server" MaxLength="60" TabIndex="502"
                        Width="300px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td align="left" style="padding-top:10px">
                    <asp:Button ID="SalirClientePanelButton" runat="server" Text="Exit" />
                </td>
            </tr>
        </table>
    </asp:Panel>
</asp:Content>